//
//  MidModel.m
//  LvXingPai
//
//  Created by mafang on 16/8/12.
//  Copyright © 2016年 _Junxee. All rights reserved.
//

#import "MidModel.h"

@implementation MidModel

// 初始化赋值
- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.title = dict[@"title"];
        self.linkStr = dict[@"link"];
        NSArray *a2 = dict[@"images"];
        NSDictionary *dt2 = a2[0];
        self.urlStr = dt2[@"url"];
    }
    return self;
}

+ (instancetype)modelWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}


@end
